package com.kurumi.medical.controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.kurumi.medical.util.FtpClientUtil;
import com.kurumi.medical.util.PDFUtil;


@Controller
public class HomeController {
	
	
	
	/**
	 * 默认首页
	 * @return
	 */
	@GetMapping("/")
	public String index(){
		/*String url ="192.168.21.25";
		int port =21;
		String username="worker";
		String password="20120501";
		String remotePath="hospitalization_note";
		String fileName="08d361ec8ba84446bc0bde8267334584.txt";
		String localPath="D:\\publics";
		FtpClientUtil.downFile(url, port, username, password, remotePath, fileName, localPath);*/
		/*PDFUtil.pdfToImage();*/
		return "redirect:/export305/queryExportMedicalVisitForm";
	}
	
	
	
}
